package com.drg.center.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2023/10/26
 */
@ApiModel("字典项添加DTO")
@Data
public class SysDictItemEditDTO implements Serializable {

    @ApiModelProperty("id")
    @NotNull(message = "ID不能为空")
    private Long id;

    @ApiModelProperty("系统字典项编码")
    @NotBlank(message = "字典项编码不能为空")
    private String itemCode;

    @ApiModelProperty("系统字典项名称")
    @NotBlank(message = "字典项名称不能为空")
    private String itemName;

    @ApiModelProperty("状态编码")
    @NotNull(message = "请选择字典项状态")
    private Integer status;

    @ApiModelProperty(" 排序字段")
    private Integer sortIndex;

    @ApiModelProperty("备注")
    private String remark;
}
